/*
	Name: radar.h
	Author:	Art Ordonez
	Date: 20 Nov 2012
	Radar object definition
*/

#ifndef RADAR_H
#define RADAR_H

class CTerrain;
class CVector;

static const int ENEMY = 0;
static const int CENTER = 1;
static const int HELICOPTER = 2;
static const int HAT = 3;

class CRadar
{
private:
	float oldX;
	float oldY;
public:
	CRadar();
	void moveTo(float x, float y);
	void lineTo(float x, float y);	void drawRadar();										// Draws a circle
	void drawCross();
	void Draw( int windowHeight, CTerrain* terrain, CVector* playerPos, float* playerAngle );
	void DrawMarker( int type, CVector* markerPos, CVector* playerPos, float* playerAngle );
	void drawSods();
	void drawHelicopter();
	float scl;

	void colorPt(float r, float g, float b);
	void drawPt(int type, float x, float y);

	float xCtr;float yCtr;float radius;};

#endif